﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ReportPatronHistoryBooksCheckedOut.aspx.cs" Inherits="PatronHistoryBooksCheckedOut" Title="Untitled Page" %>

<%@ Register assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>

<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>

<asp:Content ID="Content1" ContentPlaceHolderID="leftSide" Runat="Server">
    <asp:Button ID="btnMyAccount" runat="server" Text="Return to My Account" 
        onclick="btnMyAccount_Click" />
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="center" Runat="Server">
    <asp:Label ID="lblPatron" runat="server" Text="" Visible="false"></asp:Label>
    <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" 
        Font-Size="8pt" Height="400px" Width="673px" 
    ShowCredentialPrompts="False">
        <ServerReport ReportServerUrl="" />
        <LocalReport ReportPath="MRPatronHistoryBooksCheckedOut.rdlc" 
            EnableExternalImages="True">
            <DataSources>
                <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" 
                    Name="PatronHistoryBooksCheckedOut_REPORT_PatronBooksCheckedOutHistory" />
            </DataSources>
        </LocalReport>
</rsweb:ReportViewer>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
        SelectMethod="GetData" 
        TypeName="PatronHistoryBooksCheckedOutTableAdapters.REPORT_PatronBooksCheckedOutHistoryTableAdapter" 
        OldValuesParameterFormatString="original_{0}">
        <SelectParameters>
            <asp:ControlParameter ControlID="lblPatron" Name="personID" PropertyName="Text" 
                Type="Int32" />
        </SelectParameters>
    </asp:ObjectDataSource>
</asp:Content>

